package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.UsertbEntity;
import dao.mapper.UsertbDAOI;

/**
*@author JiangFan
*/
public class UsertbDAO extends BaseDao implements UsertbDAOI {

}
class UsertbRowMapper implements RowMapper<UsertbEntity>{
	@Override
	public UsertbEntity rowmap(ResultSet set) throws  SQLException{
		return new UsertbEntity(
			set.getString("user_id"),
			set.getString("user_name"),
			set.getString("user_password")
		);
	}
}
